import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex);
export default new Vuex.Store({
	state:{
		uname:'张三',
		pwd:'123456',
		head:''
	},
	mutations:{
		change:(state,obj)=>{
			state[obj.key]=obj.value;
		}
	}
})
